Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODLinkSource


Unlock

The Unlock method unlocks this link-source object, relinquishing access to its content storage unit.

void Unlock (in ODLinkKey key);
key
A valid key obtained by a prior call to the Lock method.
DISCUSSION
You should call this method as soon as possible after accessing or modifying the content storage unit of this link-source object.

The key parameter should be a valid key obtained by an earlier call to the Lock method. After this method executes successfully, the specified key is no longer valid and access to the link-source object's content is relinquished.

EXCEPTIONS
kODErrInvalidLinkKey
The key parameter is not a valid key for this link-source object.
SEE ALSO
The ODLinkKey type (page 924).
The ODLinkSource::Lock method (page 382).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help